<template>
	<view class="list-item">
		<image class="img" :src="wishData.imgUrl" mode=""></image>
		<view class="content">
			<view class="content-left">
				<view class="title">
					{{wishData.title}}
				</view>
				<view class="price">
					${{wishData.price}}
				</view>
			</view>
			<view class="content-right">
				<image class="icon" src="../../static/image/footer2-sel.png" mode=""></image>
				<view class="text">
					取消收藏
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			wishData:{
				type:Object,
				default:()=>({
					
				})
			}
		},
		methods:{
			
		}
	}
</script>

<style lang="less">
	.header {
		margin-top: -10rpx;
		width: 690rpx;
		height: 40rpx;
		padding: 30rpx;
		display: flex;
		justify-content: space-between;

		.icon {
			width: 25rpx;
			height: 25rpx;
		}
	}

	.list {
		padding: 30rpx;
		box-sizing: border-box;
		
		.list-item {
			box-shadow: 5px 5px 5px #ccc;
			margin-bottom: 30rpx;
			.img {
				width: 100%;
				height: 375rpx;
				border-radius: 20rpx;
			}

			.content {
				display: flex;
				justify-content: space-between;

				.content-left {
					.title {
						font-weight: bold;
						font-size: 38rpx;
					}

					.price {
						color: red;
						font-size: 30rpx;
					}
				}

				.content-right {
					.icon {
						padding-left: 40rpx;
						width: 30rpx;
						height: 30rpx;
					}

					.text {
						font-size: 30rpx;
						color: #ccc;
						padding-right: 30rpx;
					}
				}
			}
		}
	}
</style>
